package com.good.webadmin.Models.Params;

import com.good.domain.models.SignModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.stereotype.Component;

/**
 * @author：大钊
 * @data:2022/3/5 10:45
 **/
@ApiModel("添加角色参数")
@Component
public class AddRole extends SignModel {
    @ApiModelProperty("角色名称")
    private String roleName;

    @ApiModelProperty("角色说明")
    private String description;

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    @Override
    public String toString() {
        return "AddRole{" +
                "roleName='" + roleName + '\'' +
                ", description='" + description + '\'' +
                '}';
    }
}


